#include "..\System.h"

//+ boxing/unboxing
internal System_Object *___boxsbyte(sbyte value)
{
	System_SByte *box = new(,System_SByte);
	box->m_value = value;
	return (System_Object *)box;
}

internal sbyte ___unboxsbyte(System_Object *value)
{
	return ((System_SByte *)value)->m_value;
}

//+ type
Implement_Type(System_SByte,System_Object,)
Implement_DefaultCtor(System_SByte,System_Object)
System_Type _sbyteType = { (__typeCtor)null, L"sbyte", (__typeBoxer)&___boxsbyte, (__typeUnboxer)&___unboxsbyte, (char*)default(sbyte), _TypeFlags_Value };
Declare_System(System_SByte, sbyte)
Implement_System(System_SByte, sbyte)